package com.netflix.service.points.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/points")
@RestController
public class PointsController {

    @RequestMapping(value = "", method = RequestMethod.GET)
    public int getUserPoints(@RequestParam("userId") int userId) {
        return 18;
    }
}
